#define _CRT_SECURE_NO_WARNINGS 1
#include<bits/stdc++.h>
using namespace std;
int main()
{
	long long n;
	cin >> n;
	cout << 8 << " " << 12 * (n - 2) << " " << 6 * (n - 2) * (n - 2) << endl;
	return 0;
}